package com.sright.bcard.common.service.share.dto.common;

import lombok.Data;

import java.util.List;

/**
 * 敏感词审核DTO
 */
@Data
public class VideoCheckCallbackDTO {

    /**
     * code : 200
     * dataId : d31dae33-fc5a-48bd-9acd-463638e9b36c
     * msg : OK
     * results : [{"label":"normal","rate":99.9,"scene":"porn","suggestion":"pass"},{"label":"normal","rate":99.9,"scene":"terrorism","suggestion":"pass"},{"label":"normal","rate":99.9,"scene":"ad","suggestion":"pass"}]
     * taskId : viRhBLT@jQt24jAtCbRCsCO-1tlfZV
     * url : http://v1.ergengtech.com/cardNew/2020/10/21/acb3977accc6d5d379ce0a289eb5187c.mp4
     */

    private int code;
    private String dataId;
    private String msg;
    private String taskId;
    private String url;
    private List<ResultsBean> results;

    @Data
    public static class ResultsBean {
        /**
         * label : normal
         * rate : 99.9
         * scene : porn
         * suggestion : pass
         */

        private String label;
        private double rate;
        private String scene;
        private String suggestion;
    }
}
